//
//  BlockNameTableViewCell.m
//  map
//
//  Created by dllo on 16/4/28.
//  Copyright © 2016年 王彦森. All rights reserved.
//

#import "BlockNameTableViewCell.h"

@implementation BlockNameTableViewCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
    }
    return self;

}

-(void)createView{
    self.name = [[UILabel alloc]init ];
    [self.contentView addSubview:self.name];
}

-(void)layoutSubviews{
    [super layoutSubviews];
    
    self.name.frame =CGRectMake(10, 10, 50, 20);

}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
